<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCADlib/entity.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f0b6ef187c5b1483641b038f81654ac4.html">ShipCADlib</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">entity.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="entity_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*###############################################################################################</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> *    ShipCAD                                           *</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *    Copyright 2015, by Greg Green &lt;ggreen@bit-builder.com&gt;                    *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *    Original Copyright header below                               *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *                                              *</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> *    This code is distributed as part of the FREE!ship project. FREE!ship is an                *</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *    open source surface-modelling program based on subdivision surfaces and intended for      *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *    designing ships.                                                                          *</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *    Copyright © 2005, by Martijn van Engeland                                                 *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *    e-mail                  : Info@FREEship.org                                               *</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *    FREE!ship project page  : https://sourceforge.net/projects/freeship                       *</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *    FREE!ship homepage      : www.FREEship.org                                                *</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> *    This program is free software; you can redistribute it and/or modify it under             *</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *    the terms of the GNU General Public License as published by the                           *</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *    Free Software Foundation; either version 2 of the License, or (at your option)            *</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *    any later version.                                                                        *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> *    This program is distributed in the hope that it will be useful, but WITHOUT ANY           *</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> *    WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A           *</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> *    PARTICULAR PURPOSE. See the GNU General Public License for more details.                  *</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> *    You should have received a copy of the GNU General Public License along with              *</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> *    this program; if not, write to the Free Software Foundation, Inc.,                        *</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> *    59 Temple Place, Suite 330, Boston, MA 02111-1307 USA                                     *</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> *                                                                                              *</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> *##############################################################################################*/</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef ENTITY_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define ENTITY_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;QObject&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;QColor&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;QPen&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;QVector3D&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &lt;iosfwd&gt;</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceShipCAD.html">ShipCAD</a> {</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">class </span>Viewport;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">class </span>LineShader;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classShipCAD_1_1IntersectionData.html">   49</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1IntersectionData.html">IntersectionData</a></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;{</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classShipCAD_1_1IntersectionData.html#acc582d8820d6e60117e0bf5fe686ab76">   53</a></span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1IntersectionData.html#acc582d8820d6e60117e0bf5fe686ab76">IntersectionData</a>() : <a class="code" href="classShipCAD_1_1IntersectionData.html#a5b42e3b8b81d18963f9a07609b402628">number_of_intersections</a>(0) {}</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classShipCAD_1_1IntersectionData.html#a80ee22151368715711e3713eae61d401">   54</a></span>&#160;    <a class="code" href="classShipCAD_1_1IntersectionData.html#a80ee22151368715711e3713eae61d401">~IntersectionData</a>() {}</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="classShipCAD_1_1IntersectionData.html#a5b42e3b8b81d18963f9a07609b402628">   56</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="classShipCAD_1_1IntersectionData.html#a5b42e3b8b81d18963f9a07609b402628">number_of_intersections</a>;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classShipCAD_1_1IntersectionData.html#a926e126e42d95e01b39e2750a0e1fb95">   57</a></span>&#160;    std::vector&lt;QVector3D&gt; <a class="code" href="classShipCAD_1_1IntersectionData.html#a926e126e42d95e01b39e2750a0e1fb95">points</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classShipCAD_1_1IntersectionData.html#a06fcbb71243644bdea0e5b86da3b191c">   58</a></span>&#160;    std::vector&lt;float&gt; <a class="code" href="classShipCAD_1_1IntersectionData.html#a06fcbb71243644bdea0e5b86da3b191c">parameters</a>;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;};</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html">   65</a></span>&#160;<span class="keyword">class </span><a class="code" href="classShipCAD_1_1Entity.html">Entity</a> : <span class="keyword">public</span> QObject</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;{</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    Q_OBJECT</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="classShipCAD_1_1Entity.html">Entity</a>();</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a0fe3f9f7c8875a85afb214c8ebd75604">   72</a></span>&#160;    <span class="keyword">virtual</span> <a class="code" href="classShipCAD_1_1Entity.html#a0fe3f9f7c8875a85afb214c8ebd75604">~Entity</a>() {}</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> clear();</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> extents(QVector3D&amp; min, QVector3D&amp; max);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> draw(<a class="code" href="classShipCAD_1_1Viewport.html">Viewport</a>&amp; vp, <a class="code" href="classShipCAD_1_1LineShader.html">LineShader</a>* lineshader) = 0;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> rebuild() = 0;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    <span class="comment">// getters/setters</span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a747f437fa410f5b8b6251967fd3a90aa">   80</a></span>&#160;    <span class="keyword">virtual</span> QColor <a class="code" href="classShipCAD_1_1Entity.html#a747f437fa410f5b8b6251967fd3a90aa">getColor</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _color;}</div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a5e0e5f174d287e807b5409b1aa5704bc">   82</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Entity.html#a5e0e5f174d287e807b5409b1aa5704bc">setColor</a>(<span class="keyword">const</span> QColor&amp; col)</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        {_color = col;}</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#acf44d10747d8e1588030ef1e46155dfc">   85</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classShipCAD_1_1Entity.html#acf44d10747d8e1588030ef1e46155dfc">getPenWidth</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _pen_width;}</div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a1b8146f974735c90ea6a44a0cb5fba98">   87</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Entity.html#a1b8146f974735c90ea6a44a0cb5fba98">setPenWidth</a>(<span class="keywordtype">int</span> w)</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        {_pen_width=w;}</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a5912853854b82c79f47dd9117cc3d9bc">   90</a></span>&#160;    Qt::PenStyle <a class="code" href="classShipCAD_1_1Entity.html#a5912853854b82c79f47dd9117cc3d9bc">getPenStyle</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _pen_style;}</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a50f556f934efd5517c984b09a2e17773">   92</a></span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classShipCAD_1_1Entity.html#a50f556f934efd5517c984b09a2e17773">setPenStyle</a>(Qt::PenStyle style)</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        {_pen_style = style;}</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;    QVector3D getMin() <span class="keyword">const</span>;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;    QVector3D getMax() <span class="keyword">const</span>;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#ab2f54a1745c95aa0871a8c57c114809e">   97</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Entity.html#ab2f54a1745c95aa0871a8c57c114809e">isBuild</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keyword">        </span>{<span class="keywordflow">return</span> _build;}</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> setBuild(<span class="keywordtype">bool</span> val);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="comment">// output</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    <span class="keywordtype">void</span> dump(std::ostream&amp; os) <span class="keyword">const</span>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a752e3eb309111a7457783e0fdab3d6fe">  108</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classShipCAD_1_1Entity.html#a752e3eb309111a7457783e0fdab3d6fe">_build</a>;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a414d4ff1ee308d47a5052910c3b34f7b">  109</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1Entity.html#a414d4ff1ee308d47a5052910c3b34f7b">_min</a>;</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a30e4f9cb421987cebd07737a554275eb">  110</a></span>&#160;    QVector3D <a class="code" href="classShipCAD_1_1Entity.html#a30e4f9cb421987cebd07737a554275eb">_max</a>;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a5a9892a0d84d2cfdcd3a5dabf662a595">  111</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="classShipCAD_1_1Entity.html#a5a9892a0d84d2cfdcd3a5dabf662a595">_pen_width</a>;</div><div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#a150a19aa958886e9dcf7c4e0e51dcd98">  112</a></span>&#160;    QColor <a class="code" href="classShipCAD_1_1Entity.html#a150a19aa958886e9dcf7c4e0e51dcd98">_color</a>;</div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="classShipCAD_1_1Entity.html#ac53123be976cd9739ad1657573d67d97">  113</a></span>&#160;    Qt::PenStyle <a class="code" href="classShipCAD_1_1Entity.html#ac53123be976cd9739ad1657573d67d97">_pen_style</a>;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;};</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;};              <span class="comment">/* end namespace */</span></div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;std::ostream&amp; <a class="code" href="entity_8h.html#ac4a93028d71849f2043dfcd7abce7da3">operator &lt;&lt; </a>(std::ostream&amp; os, <span class="keyword">const</span> <a class="code" href="classShipCAD_1_1Entity.html">ShipCAD::Entity</a>&amp; entity);</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="ttc" id="classShipCAD_1_1Entity_html_a50f556f934efd5517c984b09a2e17773"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a50f556f934efd5517c984b09a2e17773">ShipCAD::Entity::setPenStyle</a></div><div class="ttdeci">void setPenStyle(Qt::PenStyle style)</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00092">entity.h:92</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html_acc582d8820d6e60117e0bf5fe686ab76"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html#acc582d8820d6e60117e0bf5fe686ab76">ShipCAD::IntersectionData::IntersectionData</a></div><div class="ttdeci">IntersectionData()</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00053">entity.h:53</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html_a926e126e42d95e01b39e2750a0e1fb95"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html#a926e126e42d95e01b39e2750a0e1fb95">ShipCAD::IntersectionData::points</a></div><div class="ttdeci">std::vector&lt; QVector3D &gt; points</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00057">entity.h:57</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html">ShipCAD::IntersectionData</a></div><div class="ttdoc">Record of geometry intersections. </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00049">entity.h:49</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a150a19aa958886e9dcf7c4e0e51dcd98"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a150a19aa958886e9dcf7c4e0e51dcd98">ShipCAD::Entity::_color</a></div><div class="ttdeci">QColor _color</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00112">entity.h:112</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html_a80ee22151368715711e3713eae61d401"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html#a80ee22151368715711e3713eae61d401">ShipCAD::IntersectionData::~IntersectionData</a></div><div class="ttdeci">~IntersectionData()</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00054">entity.h:54</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_ab2f54a1745c95aa0871a8c57c114809e"><div class="ttname"><a href="classShipCAD_1_1Entity.html#ab2f54a1745c95aa0871a8c57c114809e">ShipCAD::Entity::isBuild</a></div><div class="ttdeci">bool isBuild() const </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00097">entity.h:97</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a0fe3f9f7c8875a85afb214c8ebd75604"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a0fe3f9f7c8875a85afb214c8ebd75604">ShipCAD::Entity::~Entity</a></div><div class="ttdeci">virtual ~Entity()</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00072">entity.h:72</a></div></div>
<div class="ttc" id="classShipCAD_1_1Viewport_html"><div class="ttname"><a href="classShipCAD_1_1Viewport.html">ShipCAD::Viewport</a></div><div class="ttdef"><b>Definition:</b> <a href="viewport_8h_source.html#l00070">viewport.h:70</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_ac53123be976cd9739ad1657573d67d97"><div class="ttname"><a href="classShipCAD_1_1Entity.html#ac53123be976cd9739ad1657573d67d97">ShipCAD::Entity::_pen_style</a></div><div class="ttdeci">Qt::PenStyle _pen_style</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00113">entity.h:113</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a5a9892a0d84d2cfdcd3a5dabf662a595"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a5a9892a0d84d2cfdcd3a5dabf662a595">ShipCAD::Entity::_pen_width</a></div><div class="ttdeci">int _pen_width</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00111">entity.h:111</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a5912853854b82c79f47dd9117cc3d9bc"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a5912853854b82c79f47dd9117cc3d9bc">ShipCAD::Entity::getPenStyle</a></div><div class="ttdeci">Qt::PenStyle getPenStyle() const </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00090">entity.h:90</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a1b8146f974735c90ea6a44a0cb5fba98"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a1b8146f974735c90ea6a44a0cb5fba98">ShipCAD::Entity::setPenWidth</a></div><div class="ttdeci">void setPenWidth(int w)</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00087">entity.h:87</a></div></div>
<div class="ttc" id="classShipCAD_1_1LineShader_html"><div class="ttname"><a href="classShipCAD_1_1LineShader.html">ShipCAD::LineShader</a></div><div class="ttdef"><b>Definition:</b> <a href="shader_8h_source.html#l00075">shader.h:75</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html_a5b42e3b8b81d18963f9a07609b402628"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html#a5b42e3b8b81d18963f9a07609b402628">ShipCAD::IntersectionData::number_of_intersections</a></div><div class="ttdeci">size_t number_of_intersections</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00056">entity.h:56</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html"><div class="ttname"><a href="classShipCAD_1_1Entity.html">ShipCAD::Entity</a></div><div class="ttdoc">base class for all non-surface drawable elements </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00065">entity.h:65</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a30e4f9cb421987cebd07737a554275eb"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a30e4f9cb421987cebd07737a554275eb">ShipCAD::Entity::_max</a></div><div class="ttdeci">QVector3D _max</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00110">entity.h:110</a></div></div>
<div class="ttc" id="entity_8h_html_ac4a93028d71849f2043dfcd7abce7da3"><div class="ttname"><a href="entity_8h.html#ac4a93028d71849f2043dfcd7abce7da3">operator&lt;&lt;</a></div><div class="ttdeci">std::ostream &amp; operator&lt;&lt;(std::ostream &amp;os, const ShipCAD::Entity &amp;entity)</div><div class="ttdef"><b>Definition:</b> <a href="entity_8cpp_source.html#l00101">entity.cpp:101</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a747f437fa410f5b8b6251967fd3a90aa"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a747f437fa410f5b8b6251967fd3a90aa">ShipCAD::Entity::getColor</a></div><div class="ttdeci">virtual QColor getColor() const </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00080">entity.h:80</a></div></div>
<div class="ttc" id="classShipCAD_1_1IntersectionData_html_a06fcbb71243644bdea0e5b86da3b191c"><div class="ttname"><a href="classShipCAD_1_1IntersectionData.html#a06fcbb71243644bdea0e5b86da3b191c">ShipCAD::IntersectionData::parameters</a></div><div class="ttdeci">std::vector&lt; float &gt; parameters</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00058">entity.h:58</a></div></div>
<div class="ttc" id="namespaceShipCAD_html"><div class="ttname"><a href="namespaceShipCAD.html">ShipCAD</a></div><div class="ttdef"><b>Definition:</b> <a href="backgroundimage_8h_source.html#l00039">backgroundimage.h:39</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a752e3eb309111a7457783e0fdab3d6fe"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a752e3eb309111a7457783e0fdab3d6fe">ShipCAD::Entity::_build</a></div><div class="ttdeci">bool _build</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00108">entity.h:108</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_acf44d10747d8e1588030ef1e46155dfc"><div class="ttname"><a href="classShipCAD_1_1Entity.html#acf44d10747d8e1588030ef1e46155dfc">ShipCAD::Entity::getPenWidth</a></div><div class="ttdeci">int getPenWidth() const </div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00085">entity.h:85</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a414d4ff1ee308d47a5052910c3b34f7b"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a414d4ff1ee308d47a5052910c3b34f7b">ShipCAD::Entity::_min</a></div><div class="ttdeci">QVector3D _min</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00109">entity.h:109</a></div></div>
<div class="ttc" id="classShipCAD_1_1Entity_html_a5e0e5f174d287e807b5409b1aa5704bc"><div class="ttname"><a href="classShipCAD_1_1Entity.html#a5e0e5f174d287e807b5409b1aa5704bc">ShipCAD::Entity::setColor</a></div><div class="ttdeci">void setColor(const QColor &amp;col)</div><div class="ttdef"><b>Definition:</b> <a href="entity_8h_source.html#l00082">entity.h:82</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:35:59 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
